/**
 * 按需加载vant组件
 */
import Vue from 'vue'

// base library
import {
  Button,
  Icon,
  Field,
  CellGroup,
  Form,
  Row,
  Col,
  Tabbar,
  TabbarItem,
  Toast, 
  Dialog, 
  Notify
} from 'vant'

Vue.use(Row)
Vue.use(Col)
Vue.use(Button)
Vue.use(Icon)
Vue.use(Field)
Vue.use(CellGroup)
Vue.use(Form)
Vue.use(Toast)
Vue.use(Dialog)
Vue.use(Notify)
Vue.use(Tabbar)
Vue.use(TabbarItem)

process.env.NODE_ENV !== 'production' && console.warn('[jeecg-boot-vue] NOTICE: Vant use lazy-load.')